7.8
HIGH CVSS 3.1
CVE-2025-6516
"HDF5 Heap-Based Buffer Overflow Vulnerability"
Description

A vulnerability has been found in HDF5 up to 1.14.6 and classified as critical. This vulnerability affects the function H5F_addr_decode_len of the file /hdf5/src/H5Fint.c. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

INFO

Published Date :

June 23, 2025, 5:15 p.m.

Last Modified :

June 26, 2025, 12:25 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2025-6516 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Hdfgroup hdf5
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 4.0 MEDIUM [email protected]
Solution
Update HDF5 to a version later than 1.14.6 to fix a heap-based buffer overflow.
  • Update HDF5 to a version later than 1.14.6.
  • Apply vendor patches for HDF5.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-6516.

URL Resource
https://github.com/HDFGroup/hdf5/issues/5581 Exploit Issue Tracking Third Party Advisory
https://github.com/user-attachments/files/20626851/reproduce.tar.gz Exploit
https://vuldb.com/?ctiid.313636 Permissions Required VDB Entry
https://vuldb.com/?id.313636 Third Party Advisory VDB Entry
https://vuldb.com/?submit.592589 Third Party Advisory VDB Entry
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-6516 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-6516 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-6516 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 26, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:* versions up to (including) 1.14.6
    Added Reference Type VulDB: https://github.com/HDFGroup/hdf5/issues/5581 Types: Exploit, Issue Tracking, Third Party Advisory
    Added Reference Type VulDB: https://github.com/user-attachments/files/20626851/reproduce.tar.gz Types: Exploit
    Added Reference Type VulDB: https://vuldb.com/?ctiid.313636 Types: Permissions Required, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?id.313636 Types: Third Party Advisory, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?submit.592589 Types: Third Party Advisory, VDB Entry
  • New CVE Received by [email protected]

    Jun. 23, 2025

    Action Type Old Value New Value
    Added Description A vulnerability has been found in HDF5 up to 1.14.6 and classified as critical. This vulnerability affects the function H5F_addr_decode_len of the file /hdf5/src/H5Fint.c. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.
    Added CVSS V4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
    Added CVSS V2 (AV:L/AC:L/Au:S/C:P/I:P/A:P)
    Added CWE CWE-119
    Added CWE CWE-122
    Added Reference https://github.com/HDFGroup/hdf5/issues/5581
    Added Reference https://github.com/user-attachments/files/20626851/reproduce.tar.gz
    Added Reference https://vuldb.com/?ctiid.313636
    Added Reference https://vuldb.com/?id.313636
    Added Reference https://vuldb.com/?submit.592589
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 4.8
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact